var url = serverPre + "/manager/yzt/v1/dictMapper";
var bsConf = {

    queryFormId: "mapper-query-form",

    createFormId: "mapper-create-form",

    updateFormId: "mapper-update-form",

    tableID: "id",

    queryCols: 3,

    queryFloat: "right",

    voName: "dicInfo",

    mapperLinkage: true,

    createConfigs:                  //新建form
        [
            {
                type: 'select',
                label: '映射类型',
                name: 'mapperType',
                dataUrl: serverPre + "/manager/yzt/v1/dict/mapperType?type=dictMapper",
                nameProperty: 'name',
                idProperty:'code'
            },
            {
                type: 'text',
                label: '字典编码',
                name: 'code',
                default: '',
                verify: ''
            },
            {
                type: 'text',
                label: '字典值',
                name: 'name',
                default: '',
                verify: '',
            },
            {
                type: 'select',
                label: '系统标识',
                name: 'systemSign',
                dataUrl: serverPre + "/manager/yzt/v1/system/info?pageNo=1&pageSize=999",
                nameProperty: 'systemName',
                idProperty:'systemSign'
            },
            {
                type: 'select',
                label: '映射值',
                name: 'dictCode',
                dataUrl: serverPre + "/manager/yzt/v1/dict/mapperType",
                nameProperty: 'name',
                idProperty:'code'
            },
            {
                type: 'text',
                label: '备注',
                name: 'remark',
                default: '',
                verify: ''
            }
        ],
    updateConfigs:                  //修改form
        [
            {
                type: 'select',
                label: '映射类型',
                name: 'mapperType',
                dataUrl: serverPre + "/manager/yzt/v1/dict/mapperType?type=dictMapper",
                nameProperty: 'name',
                idProperty:'code'
            },
            {
                type: 'text',
                label: '字典编码',
                name: 'code',
                default: '',
                verify: ''
            },
            {
                type: 'text',
                label: '字典值',
                name: 'name',
                default: '',
                verify: '',
            },
            {
                type: 'select',
                label: '系统标识',
                name: 'systemSign',
                dataUrl: serverPre + "/manager/yzt/v1/system/info?pageNo=1&pageSize=999",
                nameProperty: 'systemName',
                idProperty:'systemSign'
            },
            {
                type: 'select',
                label: '映射值',
                name: 'dictCode',
                dataUrl: serverPre + "/manager/yzt/v1/dict/mapperType",
                nameProperty: 'name',
                idProperty:'code'
            },
            {
                type: 'text',
                label: '备注',
                name: 'remark',
                default: '',
                verify: ''
            }
        ],
    //列表内容
    tableCols: [
        {type: 'checkbox'}
        , {field: 'id', hide: true}
        , {field: 'tableId', title: '序号',align: 'center', type: 'numbers'}
        , {field: 'mapperTypeName', width: '20%', align: 'center',title: '映射类型'}
        , {field: 'code', width: '10%',align: 'center', title: '字典编码'}
        , {field: 'name', width: '10%', align: 'center',title: '字典值'}
        , {field: 'systemSignName', width: '10%', align: 'center',title: '系统标识'}
        , {field: 'dictName', width: '20%', align: 'center',title: '映射值'}
        , {fixed: 'right', align: 'left', toolbar: '#barDemo'}
    ],
};